//package com.dragon.auth.config;
//
//import com.dragon.common.security.service.DragonRedisOAuth2AuthorizationService;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.data.redis.core.RedisTemplate;
//import org.springframework.security.oauth2.server.authorization.InMemoryOAuth2AuthorizationService;
//import org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService;
//
///**
// * @date: 2024/8/8 00:30
// * @author: ybl
// * // TODO: 2024/8/8 考虑废弃
// */
//@Configuration
//public class OAuth2AuthorizationConfig {
//
//    @Bean
//    public OAuth2AuthorizationService authorizationService(RedisTemplate<String, Object> redisTemplate) {
//        return new DragonRedisOAuth2AuthorizationService(redisTemplate);
//    }
//}
